package com.xinqi.modules.sys.textbook.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 关联云课本课堂内容-请求对象-新增
 *
 * @author: linkai
 * @date: 2023/04/25
 */
@Data
@Schema(description = "关联云课本课堂内容-请求对象-新增")
public class CloudTextbookContentReplaceDTO implements Serializable {

    /**
     * 内容ID
     */
    @Schema(description = "内容ID", example = "")
    @NotNull(message = "内容ID不能为空")
    private Long id;
    /**
     * 关联ID
     */
    @Schema(description = "目录ID", example = "")
    @NotNull(message = "目录ID不能为空")
    private Long refId;
    /**
     * 备注
     */
    @Schema(description = "备注", example = "")
    private String remark;
}
